<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>flightManage 航班管理</title>
	</head>	
	<link rel="stylesheet" href="../css/common.css" />
	<link rel="stylesheet" href="../css/less/common_less.css" />
	<link rel="stylesheet" href="../css/less/flightManage.css" />
	<body>
		<div class="searchPanle f60666">
			<span>航班编号 <input uppercase class='airlineCode' type="text" /></span>
			<span>项目经理 <input class='pm' type="text" /></span>
			<span>航班状态 <select class='status'>
						<option value="">全部</option>
						<option value="U">未开始</option>
						<option value="O">执行中</option>						
						<option value="D">已完成</option>
						<option value="C">已取消</option>
				  </select>
			</span>
			<span>出发 <input type="text" class="autocomplete dep"/></span>
			<span class="iconfont exchangeAirportCode">&#xe719;</span>
			<span>到达 <input type="text" class="autocomplete arr"/></span>
			<div class='twobuttonbox'>
				<button class="searchBtn"><i class="iconfont setIcon">&#xe661;</i>查询</button>
			<!-- 	<button class='newSeriesBtn'><i class="iconfont setIcon">&#xe627;</i>新建航班</button>  -->
			</div>
		</div>		
		<div class='tableData'>
			<table id="dataTable">				
				<thead>
					<tr class='tableHead aaaaaa'>
						<th>开始日期</th>
						<th>结束日期</th>
						<th>班期</th>
						<th>航节信息</th>
						<th>项目经理</th>
						<th>航班状态</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody class='clear'></tbody>
			</table>
		</div>		
		<div class='Pagination'></div>					
		<script type="text/javascript" src="../js/jquery-1.12.4.js" ></script>		
		<script type="text/javascript" src="../js/jquery.freezeheader.js" ></script>		
		<script type="text/javascript" src="../layer-v2.4/layer/layer.js" ></script>
		<script type="text/javascript" src="../js/jquery.autocomplete.js" ></script>
		<script type="text/javascript" src="../js/common.js" ></script>
		<script>
		
		/*新建航班 权限管理*/
		var newflightBtn="";
		<#if resList?seq_contains("ak/flightManage/newflt")>			
			newflightBtn+="<button class='newSeriesBtn'><i class='iconfont setIcon'>&#xe627;</i>新建航班</button>";
		</#if>	
		$(".twobuttonbox").append(newflightBtn);
		
		/*新增日期按钮权限管理*/
		var addDateBtn="";
		<#if resList?seq_contains("ak/flightManage/newdate")>
			addDateBtn+="<input type='hidden' class='addDateBtn'  value='1'>";
		</#if>
		$(".searchPanle").append(addDateBtn);
		
		/*修改计划按钮权限管理*/
		var chgplnBtn="";
		<#if resList?seq_contains("ak/flightManage/modpln")>
			chgplnBtn+="<input type='hidden' class='chgplnBtn'  value='1'>";
		</#if>
		$(".searchPanle").append(chgplnBtn);
		
		/*生成航班按钮权限管理*/
		var genflgtBtn="";
		<#if resList?seq_contains("ak/flightManage/genflt")>
			genflgtBtn+="<input type='hidden' class='genflgt'  value='1'>";
		</#if>
		$(".searchPanle").append(genflgtBtn);
		
		/*删除航班按钮权限管理*/
		var delflgtBtn="";
		<#if resList?seq_contains("ak/flightManage/del")>
			delflgtBtn+="<input type='hidden' class='delflgt'  value='1'>";
		</#if>
		$(".searchPanle").append(delflgtBtn);
		</script>
		<script type="text/javascript" src="../js/flightManage.js" ></script>
	</body>
</html>
